<?php
	require_once("db_functions.php");
	if(!isset($_POST["filterid"]) || !isset($_POST["userid"]))
	{
		die("Didn't work");
	}
	$filterid = $_POST["filterid"];
	$userId = $_POST["userid"];
	DeleteFilter($userId, $filterid);
?>